package cn.kxm.service;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import cn.kxm.pojo.Role;
import cn.kxm.pojo.Sysuser;

public interface AdministratorService {
	public List<Map<String,Object>> findAdministratorList(String userName,Integer pageNo,Integer pageSize);
	public int getAdministratorCount(String userName);
	public List<Role> getRoles();
	public Sysuser checkUserName(String userName);
	public int addAdministrator(Sysuser sysuser);
	public Map<String,Object> getAdministratorById(Integer id);
	public int updateAdministrator(Sysuser sysuser);
	public int delAdministrator(Integer id);
}
